package com.example.androidcomplete0102.ch11;

import com.example.androidcomplete0102.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

public class ButtonExit extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch11_btnimage);
		
		findViewById(R.id.imageView1).setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Toast.makeText(ButtonExit.this, "클릭", Toast.LENGTH_LONG).show();
			}
		});
	}
	
	
}
